#ifndef SONGEXPORTER_H
#define SONGEXPORTER_H

#include "song.h"
#include "list.h"
#include "queue.h"
#include <QThread>

class SongExporter : public QThread
{
    Q_OBJECT
public:
    SongExporter();

    void exportSongs(List<Song*> *songs, QString path);

protected:
    void run();

private:
    QString exportPath;
    Queue<Song> songsQueue;

    void fixFolderOrFileName(QString &text);
};

#endif // SONGEXPORTER_H
